package com.smart.campus.school.mapper;

import com.smart.campus.school.domain.TeacherApplyList;

import java.util.List;

/**
 * 老师请假申请Mapper接口
 * 
 * @author Zhihe.Li
 * @date 2020-06-15
 */
public interface TeacherApplyListMapper
{
    /**
     * 查询老师请假申请
     * 
     * @param id 老师请假申请ID
     * @return 老师请假申请
     */
    public TeacherApplyList selectTeacherApplyListById(Long id);

    /**
     * 查询老师请假申请列表
     * 
     * @param applyList 老师请假申请
     * @return 老师请假申请集合
     */
    public List<TeacherApplyList> selectTeacherApplyListList(TeacherApplyList applyList);

    /**
     * 新增老师请假申请
     * 
     * @param applyList 老师请假申请
     * @return 结果
     */
    public int insertTeacherApplyList(TeacherApplyList applyList);

    /**
     * 修改老师请假申请
     * 
     * @param applyList 老师请假申请
     * @return 结果
     */
    public int updateTeacherApplyList(TeacherApplyList applyList);

    /**
     * 删除老师请假申请
     * 
     * @param id 老师请假申请ID
     * @return 结果
     */
    public int deleteTeacherApplyListById(Long id);

    /**
     * 批量删除老师请假申请
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTeacherApplyListByIds(String[] ids);


}
